﻿/*
 * Created by SharpDevelop.
 * User: vmacari
 * Date: 3/14/2011
 * Time: 14:15
 * 
 * The exception for a rule is designated to trell to the user what is wrong with it';s 
 * degined rules.
 */
using System;
using System.Runtime.Serialization;
using  md.imi.membranes.objects.rules;

namespace md.imi.membrane.objects.Exceptions
{
	/// <summary>
	/// Desctiption of ExceptionRule.
	/// </summary>
	public class ExceptionRule : Exception, ISerializable
	{
		public ExceptionRule()
		{
		}

	 	public ExceptionRule(string message) : base(message)
		{
		}

		public ExceptionRule(string message, Exception innerException) : base(message, innerException)
		{
		}

		// This constructor is needed for serialization.
		protected ExceptionRule(SerializationInfo info, StreamingContext context) : base(info, context)
		{
		}
	
		
		public ExceptionRule (Rule rule, String message) {
			
		}
	}
}